#ifndef USART_H
#define USART_H
/*UART*/

extern volatile unsigned char usart_data;

#define F_OSC 1000000/* oscillator-frequency in Hz */
#define UART_BAUD_RATE 9600
#define UART_BAUD_CALC(UART_BAUD_RATE,F_OSC) ((F_OSC)/((UART_BAUD_RATE)*16l)-1)
               
unsigned char USART_Receive( void );
void USART_Transmit( unsigned char send_data );
void USART_init(void);
void USART_Transmit_s( char *s );


#endif
